/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package limousine.vo;

import java.io.Serializable;
import java.util.Date;


/**
 *
 * @author Neo
 */
public class Lookup implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer tableId;
    private String lookupId;
    private String lookupName;
    private String lookupValue;
    private String lookupDescription = "lookupDescription";
    private String lookupGroupId;
    private Integer lookupOrder;

    public Lookup() {
    }

    public Lookup(int tableId) {
        this.tableId = tableId;
    }

    public Lookup(int tableId, String lookupId, String lookupName, String lookupValue, String lookupGroupId, Integer lookupOrder) {
        this.tableId = tableId;
        this.lookupId = lookupId;
        this.lookupName = lookupName;
        this.lookupValue = lookupValue;
        this.lookupGroupId = lookupGroupId;
        this.lookupOrder = lookupOrder;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public String getLookupId() {
        return lookupId;
    }

    public void setLookupId(String lookupId) {
        this.lookupId = lookupId;
    }

    public String getLookupName() {
        return lookupName;
    }

    public void setLookupName(String lookupName) {
        this.lookupName = lookupName;
    }

    public String getLookupValue() {
        return lookupValue;
    }

    public void setLookupValue(String lookupValue) {
        this.lookupValue = lookupValue;
    }

    public String getLookupDescription() {
        return lookupDescription;
    }

    public void setLookupDescription(String lookupDescription) {
        this.lookupDescription = lookupDescription;
    }

    public String getLookupGroupId() {
        return lookupGroupId;
    }

    public void setLookupGroupId(String lookupGroupId) {
        this.lookupGroupId = lookupGroupId;
    }

    public Integer getLookupOrder() {
        return lookupOrder;
    }

    public void setLookupOrder(Integer lookupOrder) {
        this.lookupOrder = lookupOrder;
    }
    
    @Override
    public int hashCode() {
        int hash = 0;
        //hash += (tableId != null ? tableId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Lookup)) {
            return false;
        }
        Lookup other = (Lookup) object;
        //if ((this.tableId == null && other.tableId != null) || (this.tableId != null && !this.tableId.equals(other.tableId))) {
        //    return false;
        //}
        return true;
    }

    @Override
    public String toString() {
        return "limousine.vo.Lookup[tableId=" + tableId + "]";
    }

}
